//
//  Array+extension.swift
//  iKinds
//
//  Created by kinds on 2016/12/8.
//  Copyright © 2016年 Razeware LLC. All rights reserved.
//

import Foundation

extension Array{
	subscript (safe index:Int)->Element?{
		return (0..<count).contains(index) ? self[index]:nil
	}
}
